package com.wzcl.app.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class CourseTeacherDto extends BaseDto{

    @NotNull(message = "课程Id不能为空")
    @ApiModelProperty(name = "课程Id")
    private Integer courseId;

    @NotNull(message = "老师Id不能为空")
    @ApiModelProperty(name = "用户")
    private Integer userId;

    @ApiModelProperty(name = "老师名字")
    private String name;

    @ApiModelProperty(name = "老师联系电话")
    private String phone;

    @NotNull(message = "职位不能为空")
    @ApiModelProperty(name = "职位")
    private Integer  position;
}
